package com.pinyou.dashboard.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pinyou.dashboard.pojo.TbUser;
import org.apache.ibatis.annotations.Select;

/**
 * @Title: UserMapper
 * @Description:
 * @Auther:jzfai
 * @Version: 1.0
 * @create 2020/4/30 22:17
 */
public interface UserMapper extends BaseMapper<TbUser> {
  @Select("SELECT * FROM tb_user WHERE id=#{uid};")
  TbUser selectSelf(Long uid);
}
